/*
 * Project: BoboDesignPattern
 * 
 * File Created at 2019年3月11日
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package builder.test2;

/**
 * @Type ConcreteAirShipBuilder
 * @Desc
 * @author 52489
 * @date 2019年3月11日
 * @Version V1.0
 */
public class ConcreteAirShipBuilder implements AirShipBuilder {

    AirShip airShip;

    public AirShip getAirShip() {
        return airShip;
    }

    public void setAirShip(AirShip airShip) {
        this.airShip = airShip;
    }

    /*
     * (non-Javadoc)
     * 
     * @see builder.test2.AirShipBuilder#buildEngine()
     */
    @Override
    public Engine buildEngine() {
        System.out.println("bobo engine");
        return new Engine("bobo engine");
    }

    /*
     * (non-Javadoc)
     * 
     * @see builder.test2.AirShipBuilder#buildScapeTower()
     */
    @Override
    public ScapeTower buildScapeTower() {
        System.out.println("bobo ScapeTower");
        return new ScapeTower("ScapeTower");
    }

    /*
     * (non-Javadoc)
     * 
     * @see builder.test2.AirShipBuilder#buildOrbitalMoudle()
     */
    @Override
    public OrbitalMoudle buildOrbitalMoudle() {
        System.out.println("bobo OrbitalMoudle");
        return new OrbitalMoudle("bobo OrbitalMoudle");
    }
}